from django.views.generic import list_detail
from basic.blog.models import Post



def front_index(request):
    return list_detail.object_list(
        request,
        queryset = Post.objects.published(),
        paginate_by = 5,
        page = 1,
        template_name = 'front_index.html',
        allow_empty = True,
        #extra_context = {'menu_link_list': MENU_LINK_LIST},
    )
front_index.__doc__ = list_detail.object_list.__doc__ 